FROM openjdk:17

MAINTAINER tang

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN mkdir -p /cloud-prvider-payment8002-0.0.1-SNAPSHOT

WORKDIR /cloud-prvider-payment8002-0.0.1-SNAPSHOT

EXPOSE 9527

ADD ./target/cloud-prvider-payment8002-0.0.1-SNAPSHOT.jar ./

CMD ["java", "-jar", "cloud-prvider-payment8002-0.0.1-SNAPSHOT.jar"]